package com.dhcc.core.modules.system.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 群组
 * 
 * @ClassName: Group
 * @Description: TODO
 * @author lifan
 * @date 2018-08-21 10:11:02
 */
@TableName("sys_group") 
public class Group extends DataEntity<Group> {
	private static final long serialVersionUID = 1L;
	
	//是否为公用群组
	private Integer ispublic;	
	//组名称
	private String name;	
	//描述
	private String description;	
	//排序
	private  Integer weight;

	
	public int getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	
	/**
	 * 设置：是否为公用群组
	 */
	public void setIspublic(Integer ispublic) {
		this.ispublic = ispublic;
	}
	/**
	 * 获取：是否为公用群组
	 */
	public Integer getIspublic() {
		return ispublic;
	}
	/**
	 * 设置：组名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：组名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	@Override
	public String toString() {
		return "GroupEntity [ispublic=" + ispublic + ", name=" + name + ", description=" + description + ", weight="
				+ weight + "]";
	}
	
	
}
